﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8" />
    <title>HelloWorld: HelloWorld.fsmcpp File Reference</title>
    <link href="/Content/Help.css" rel="stylesheet" type="text/css" />
    <link href="/Content/css/tabs.css" rel="stylesheet" type="text/css" />
    <link href="/Content/css/doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <div id="header">
        <img id="logo" alt="StateForge" src="/Content/Images/StateForgeLogo.png" />
        <div id="title">
            <h1>
                Examples using state machines generated by StateBuilderCpp
            </h1>
            <h3>
                HelloWorld: HelloWorld.fsmcpp File Reference
            </h3>
        </div>
        <div id="menucontainer">
            <ul id="menu">
                <li><a href="/">Home</a></li>
                <li><a href="/Home/Download">Downloads</a></li>
                <li><a href="/Help/state-machine-tools.aspx">Help</a></li>
                <li><a href="/Home/Faq">F.A.Q</a></li>
                <li><a href="/Home/About">Contact us</a></li>
            </ul>
        </div>
    </div>
<!-- Generated by Doxygen 1.7.4 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">HelloWorld.fsmcpp File Reference</div>  </div>
</div>
<div class="contents">

<p><a href="_hello_world_8fsmcpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&lt;?xmlversion=&quot;1.0&quot;encoding=&quot;UTF-8&quot;?&gt;<br class="typebreak"/>
&lt; sm:StateMachinexmlns:sm=&quot;http:xmlns:xsi=&quot;http:xsi:schemaLocation=&quot;http:http:<br class="typebreak"/>
&lt;!--Generalsettings--&gt;<br class="typebreak"/>
&lt;settingsasynchronous=&quot;true&quot;library=&quot;boost&quot;&gt;<br class="typebreak"/>
&lt;description&gt; <a class="el" href="class_hello_world.html">HelloWorld</a><br class="typebreak"/>
&lt;/description&gt;&lt;objectinstance=&quot;helloWorld&quot;class=&quot;HelloWorld&quot;include=&quot;HelloWorld.h&quot;/&gt;<br class="typebreak"/>
&lt;/settings&gt;&lt;!--events--&gt;<br class="typebreak"/>
&lt;events&gt;&lt;eventSourcename=&quot;HelloWorldEvent&quot;&gt;<br class="typebreak"/>
&lt;eventid=&quot;EvStart&quot;/&gt;&lt;eventid=&quot;EvStop&quot;/&gt;<br class="typebreak"/>
&lt;/eventSource&gt;&lt;eventSourcename=&quot;Timers&quot;&gt;<br class="typebreak"/>
&lt;timerid=&quot;EvTimerRetry&quot;name=&quot;TimerRetry&quot;/&gt;<br class="typebreak"/>
&lt;/eventSource&gt;&lt;/events&gt;<br class="typebreak"/>
&lt;!--States--&gt;&lt;statename=&quot;Top&quot;&gt;<br class="typebreak"/>
&lt;!--transitions--&gt;<br class="typebreak"/>
&lt;transitionevent=&quot;EvStop&quot;nextState=&quot;End&quot;/&gt;<br class="typebreak"/>
&lt;!--Childrenstate--&gt;&lt;statename=&quot;Idle&quot;&gt;<br class="typebreak"/>
&lt;transitionevent=&quot;EvStart&quot;nextState=&quot;Running&quot;/&gt;<br class="typebreak"/>
&lt;/state&gt;&lt;statename=&quot;Running&quot;&gt;<br class="typebreak"/>
&lt;onEntry&gt;&lt;timerStarttimer=&quot;TimerRetry&quot;duration=&quot;1000&quot;/&gt;<br class="typebreak"/>
&lt;action&gt; helloWorld&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_hello_world_8fsmcpp.html#af30a1c1cefcd0442779af18aae0cc8db">Print</a> (&quot;Ciao&quot;)&lt;/action &gt;&lt;/onEntry &gt;&lt; transition event</td></tr>
</table>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="af30a1c1cefcd0442779af18aae0cc8db"></a><!-- doxytag: member="HelloWorld.fsmcpp::Print" ref="af30a1c1cefcd0442779af18aae0cc8db" args="(&quot;Ciao&quot;)&lt;/action &gt;&lt;/onEntry &gt;&lt; transition event" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">&lt;?xmlversion=&quot;1.0&quot;encoding=&quot;UTF-8&quot;?&gt;&lt;sm:StateMachinexmlns:sm=&quot;http:xmlns:xsi=&quot;http:xsi:schemaLocation=&quot;http:http:&lt;!--Generalsettings--&gt;&lt;settingsasynchronous=&quot;true&quot;library=&quot;boost&quot;&gt;&lt;description&gt; <a class="el" href="class_hello_world.html">HelloWorld</a>&lt;/description&gt;&lt;objectinstance=&quot;helloWorld&quot;class=&quot;HelloWorld&quot;include=&quot;HelloWorld.h&quot;/&gt;&lt;/settings&gt;&lt;!--events--&gt;&lt;events&gt;&lt;eventSourcename=&quot;HelloWorldEvent&quot;&gt;&lt;eventid=&quot;EvStart&quot;/&gt;&lt;eventid=&quot;EvStop&quot;/&gt;&lt;/eventSource&gt;&lt;eventSourcename=&quot;Timers&quot;&gt;&lt;timerid=&quot;EvTimerRetry&quot;name=&quot;TimerRetry&quot;/&gt;&lt;/eventSource&gt;&lt;/events&gt;&lt;!--States--&gt;&lt;statename=&quot;Top&quot;&gt;&lt;!--transitions--&gt;&lt;transitionevent=&quot;EvStop&quot;nextState=&quot;End&quot;/&gt;&lt;!--Childrenstate--&gt;&lt;statename=&quot;Idle&quot;&gt;&lt;transitionevent=&quot;EvStart&quot;nextState=&quot;Running&quot;/&gt;&lt;/state&gt;&lt;statename=&quot;Running&quot;&gt;&lt;onEntry&gt;&lt;timerStarttimer=&quot;TimerRetry&quot;duration=&quot;1000&quot;/&gt;&lt;action&gt; helloWorld Print </td>
          <td>(</td>
          <td class="paramtype">&quot;Ciao&quot;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
</div>
﻿<div id="footer">
    <hr />
    <p>
        Copyright &copy; 2011 StateForge.</p>
    <hr />
</div>
</body> </html> 
